package guda.stark.dal.dao;

import guda.stark.dal.dataobject.WaterRuleDO;
import guda.grape.autogen.common.page.BaseQuery;
import java.util.List;

public interface WaterRuleDAO {


    Long insert(WaterRuleDO waterRule);


    WaterRuleDO getWaterRuleById(Long ruleId);


    boolean delWaterRuleById(Long ruleId);

    List<WaterRuleDO> getWaterRuleByIds(List idsList);

    /**
     * 清空测试用例加入的autoincrement
     */
    void cleanAutoIncrement(Long ruleId);

    List<WaterRuleDO> selectForPage(BaseQuery baseQuery);

    int countForPage(BaseQuery baseQuery);

    void updateByIdSelective(WaterRuleDO waterRule);

}
